package huang.homework16;

import java.sql.SQLException;

public class BookingService {
		public boolean addBooking(String name,int nums,float fund) throws SQLException{
			boolean result=false;
			BookingDao bd=new BookingDao();
			result=bd.insert(name, nums, fund);
			return result;
		}
}
